package com.cz.video.website.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cz.video.common.core.domain.PageQuery;
import com.cz.video.common.core.domain.entity.SysRole;
import com.cz.video.common.core.page.TableDataInfo;
import com.cz.video.website.domain.WebsiteAccount;
import com.cz.video.website.domain.WebsiteBanner;
import com.cz.video.website.domain.bo.WebsiteBannerBo;
import com.cz.video.website.domain.vo.WebsiteBannerVo;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author yr
 * @since 2023-10-15
 */
public interface IWebsiteBannerService{
    /**
     * 新增轮播图信息
     *
     * @param websiteBanner 用户信息
     * @return 结果
     */
    int insertBanner(WebsiteBanner websiteBanner);

    int updateBanner(WebsiteBannerBo websiteBanner);

    /**
     * 分页查询查找轮播图信息
     * @param websiteBanner
     * @param pageQuery
     * @return
     */
    TableDataInfo<WebsiteBannerVo> selectPageBannerList(WebsiteBannerBo websiteBanner, PageQuery pageQuery);

    int deleteById(int id);
}
